<%-- 
    Document   : FormKonsultasi
    Created on : 28 Nov 12, 23:58:19
    Author     : ASUS 1215P
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Klinik Gizi Online</title>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <link href="apuppy_style.css" rel="stylesheet" type="text/css" />
        <script language="javascript" type="text/javascript">
            function clearText(field)
            {
                if (field.defaultValue == field.value) field.value = '';
                else if (field.value == '') field.value = field.defaultValue;
            }
        </script>
    </head>
    <body>
        <div id="templatemo_header_wrapper">

            <div id="templatemo_header">

                <div id="site_title">
                    <h1><a href="index.jsp" target="_parent ">
                            Apuppy
                        </a></h1>
                </div>

                <div id="templatemo_menu">
                    <ul>
                        <li><a href="#" class="current">Home</a></li>
                        <li><a href="profile.jsp" target="_parent">profile</a></li>
                        <li><a href="formPendaftaran.jsp" target="_parent">pendaftaran</a></li>
                    </ul>    	
                </div> <!-- end of templatemo_menu -->



                <div class="cleaner"></div>
            </div> <!-- end of templatemo_header -->

        </div> 
        <!-- end of templatemo_header_wrapper -->

        <div id="templatemo_content_wrapper">

            <div id="">

                <div class="content_section">
                    <%@page import="java.util.ArrayList"%>
                    <%@page import="aktor.Konsultan"%>
                    
                    <%
                        session.setAttribute("id_pasien", "password");
                    %>
                    <html>
                        <head>
                            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
                            <title>Halaman Konsultasi</title>
                        </head>
                        <body bgcolor="powderblue">
                            <h1>Selamat Datang di Halaman Konsultasi</h1>
                            <form action="FormChattingPasien.jsp">
                                <table>
                                    <tr>
                                        <td>
                                            Silahkan pilih Konsultan untuk konsultasi:
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <select name="konsultan">
                                                <%
                                                    Konsultan kon = new Konsultan();
                                                    ArrayList<Konsultan> nama = kon.getNama();
                                                    for (int i = 0; i < nama.size(); i++) {
                                                %>
                                                <option value="<%= nama.get(i).getId_konsultan()%>"><%= nama.get(i).getNama_Konsultan()%> </option>

                                                <%
                                                    }

                                                %>
                                            </select>
                                        </td>
                                    </tr>
                                    <table width="100%" cellpadding="2" cellspacing="0" border="0" bgcolor="#C3D9FF"> <tr> 
                                        <input type="submit" value="chatting" name="chatting" /> &nbsp;
                                    </table>
                                </table>
                            </form>
                        </body>
                    </html>

                </div>




            </div> 




        </div> <!-- end of content -->




        <div id="templatemo_footer">

            <ul class="footer_menu">

            </ul>

            Copyright Â© 2048 <a href="#">Apuppy 2010</a> | 
            Designed by <a href="" target="_parent">Apuppy Klinik Gizi Online</a> | 
            <a href="https://www.usd.ac.id">www.usd.ac.id</a>
        </div> <!-- end of templatemo_footer -->
    </body>
</html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <frameset rows="25%,65%,10%" frameborder="no">
        <frame src="header.jsp" noresize="noresize" scrolling="no"/>
        <frameset cols="350%,100%,16%" frameborder="no" >
            <frame src ="HalamanUtama.jsp"/>
        </frameset>
        <frame src="footer.jsp" noresize="noresize" scrolling="no"/>
    </frameset> 
</head>
</html>